#include "./Model/Model.h"
#include "./View/View.h"
#include "./Model/LibraryRecord.h"
#include "./Model/ModelMaker.h"
#include "./Model/Library.h" 
#include <iostream>
#include <string>


int main () {
	/*
	//setlocale(LC_ALL,"");
	std::string testLR = "hranutf8.txt 2|TolkienTheFellowship.txt 2| ... | blah | blah-blah";
	LibraryRecord lr(testLR);
	//std::cout << lr.pathToRus << std::endl;
	//std::cout << lr.pathToEng << std::endl;	
	Model m;
	std::cout << "1" << std::endl;
	ModelMaker maker;
std::cout << "2" << std::endl;
	maker.makeModel(m, lr);
std::cout << "3" << std::endl;
	m.switchSource(0);
	//std::cout << m.getText(1) << std::endl;	
	*/
	Library l;
	View v(l);
	v.doMainCycle();
	/*	
	View v(m);
	v.init();
	v.show();
	v.doMainCycle();
	*/
	return 0;
} 
